﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibFriesland_Campina_CRM
{
    public class BizProductCatalouge
    {
        #region Thuoc tinh
        public string product_catalouge_charid { get; set; }
        public string name { get; set; }
        public string by_product_brand { get; set; }
        public bool owner { get; set; }
        #endregion

        #region Ham thiet lap
        public BizProductCatalouge() { }
        public BizProductCatalouge(string pProduct_catalouge_charid, string pName, string pBy_product_brand, bool pOwner)
        {
            product_catalouge_charid = pBy_product_brand;
            name = pName;
            by_product_brand = pBy_product_brand;
            owner = pOwner;
        }
        public BizProductCatalouge(string pProduct_catalouge_charid, string pName, bool pOwner)
        {
            product_catalouge_charid = pProduct_catalouge_charid;
            name = pName;
            owner = pOwner;
        }
        #endregion

        #region Phuong thuc
        #endregion

        #region Dung cho Webservice
        //Lay danh sach ProductCatalouge : product_catalouge_charid - name
        public static List<BizProductCatalouge> getAll()
        {
            return DalProductCatalouge.getAll();
        }
        #endregion
    }
}
